home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / avahi-daemon.preinst < prev    next >
Text File  |  2008-07-27  |  267b  |  17 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6.   install|upgrade)
  7.     if dpkg --compare-versions "$2" le "0.6.20-1"; then
  8.       if [ -d "/etc/avahi/etc" ]; then
  9.         rm -f /etc/avahi/etc/localtime;
  10.         rmdir --ignore-fail-on-non-empty /etc/avahi/etc;
  11.       fi
  12.     fi
  13. esac
  14.  
  15.  
  16.  
  17.